﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="WorkFlowPub.aspx.cs" Inherits="WebPubManager_WorkFlowPub" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>流程信息发布</title>
    <link href="../css/page.css" rel="Stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div style="width: 99%; margin: 0px auto; text-align: center;">
        <table class="tab_top" width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="85%" align="center">
                    &nbsp;
                </td>
                <td align="right">
                    <a href="WorkFlowManager.aspx?action=insert" id="addFlow" runat="server" >
                        新建办事项目</a>
                </td>
            </tr>
        </table>
        <controlDefine:CustomGridView ID="gvFlows" runat="server" AllowPaging="false" Width="100%"
            HideTextLength="30" AutoGenerateColumns="false" SkinID="List" ShowCmpAndCancel="False"
            AllowOnMouseOverEvent="False" ShowItemNumber="false" AutoGenerateDeleteConfirm="True"
            ShowHideColModel="None" OnRowCreated="gridviewCar_RowCreated" OnOnLoadData="recvgrid_OnLoadData">
            <PagerSettings Visible="False" />
            <Columns>
                <asp:BoundField HeaderText="序号" DataField="序号" />
                <asp:TemplateField HeaderText="事项名称">
                    <ItemTemplate>
                        <a href='WorkFlowManager.aspx?id=<%# Eval("id") %>&flowname=<%# Eval("FLOWNAME") %>&ispub=<%# Eval("ispub") %>'>
                            <%# DataBinder.Eval(Container.DataItem, "FLOWTYPE")%></a>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField HeaderText="内部审批流程" DataField="FLOWNAME" />
                <asp:BoundField HeaderText="发布状态" DataField="pubtext" />
                <asp:BoundField HeaderText="创建时间" DataField="CREATETIME" />
                <asp:BoundField HeaderText="修改时间" DataField="EDITTIME" />
                <asp:BoundField HeaderText="发布时间" DataField="PUBTIME" />
                <asp:TemplateField HeaderText="编辑" Visible="false">
                    <ItemTemplate>
                        <asp:HyperLink ID="hyedit" runat="server" Text="编辑"></asp:HyperLink>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="删除" Visible="false">
                    <ItemTemplate>
                        <asp:HyperLink ID="hydel" runat="server" Text="删除"></asp:HyperLink>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </controlDefine:CustomGridView>
    </div>
    </form>
</body>
</html>
